package com.eye.catcher.service.generate;

import com.eye.catcher.entity.TSysDaModule;
import com.baomidou.mybatisplus.extension.service.IService;
import com.eye.catcher.system.module.param.ModuleDto;
import com.eye.catcher.system.module.param.ModulePage;
import com.eye.catcher.system.module.param.ModuleResponse;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huzhiwei
 * @since 2022-02-08
 */
public interface ITSysDaModuleService extends IService<TSysDaModule> {

    public abstract ModuleResponse getModule(String userId);

    public abstract List<ModuleDto> getModuleByUserId(String userId);

    public List<ModuleDto> reorderModuleDto(List<ModuleDto> module);

    public abstract void addModule(TSysDaModule module);

    public abstract void deleteModuleByIds(String ids);

    public abstract Object getPageModuleList(ModulePage modulePage);

    public abstract ModuleResponse getAllModuleList();

    public abstract Object getAdminModuleList();

    public abstract void editModule(TSysDaModule module);

    public abstract void updateStausByIds(String ids);
}
